package core;

/**
 *
 * @author Atuan
 */
public class User {
    private String login;
    private String password;
    private int subscriber;
    private int id;
    private Boolean isLoggedIn;
    
    public User(){
        isLoggedIn = false;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getSubscriber() {
        return subscriber;
    }

    public void setSubscriber(int subscriber) {
        this.subscriber = subscriber;
    }

    public Boolean getIsLoggedIn() {
        return isLoggedIn;
    }

    public void setIsLoggedIn(Boolean isLoggedIn) {
        this.isLoggedIn = isLoggedIn;
    }

    @Override
    public String toString() {
        return "User{" + "login=" + login + ", password=" + password + ", subscriber=" + subscriber + ", id=" + id + ", isLoggedIn=" + isLoggedIn + '}';
    }
    
}
